/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package smarag;

/**
 *
 * @author northpole
 */
public class daoFactory {

    Connector con;

    public daoFactory(){
        Connector con = new Connector();
    }

    public UserDAO createUserDAO(){
        UserDAO userd = new UserDAO();
        return userd;
    }

    public PostDAO createPostDAO(){
        PostDAO postd = new PostDAO();
        return postd;
    }

}
